package per.sunmes.lesrb.types;

public enum Direction {

	Left(180), //
	LeftDown(180 + 45), //
	Down(180 + 90), //
	RightDown(180 + 90 + 45), //
	Right(0), //
	RightUp(45), //
	Up(90), //
	LeftUp(90 + 45) //

	;

	float degree;

	private Direction(float degree) {
		this.degree = degree;
	}

	public float getDegrees() {
		return degree;
	}

	public static final Direction[] CROSS = new Direction[] { Left, Up, Right, Down };
	public static final int CROSS_UP = 1, CROSS_LEFT = 0, CROSS_RIGHT = 2, CROSS_DOWN = 3;

}
